import * as types from './mutations_types'

export default {
  [types.SWITCH_DIALOG]: (state) => { // 这里的state对应着上面这个state
    state.show = !state.show
    // 你还可以在这里执行其他的操作改变state
  },
  [types.LOG]: () => {
    console.log('ok')
  }
}
